package top.melody.ecommerce.platform.api.service;

import top.melody.ecommerce.common.util.page.PageRows;
import top.melody.ecommerce.common.util.page.Pagination;
import top.melody.ecommerce.platform.EcommerceException;
import top.melody.ecommerce.platform.api.domain.basedata.Region;

/**
 * @author: melody
 * @groupId:rd
 * @createdate:2016-10-18
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since: 1.0
 */
public interface BasedataService {

    int getRegionCount(Region queryEntity) throws EcommerceException;

    PageRows<Region> queryRegionListByPage(Region queryEntity, Pagination page) throws EcommerceException;
}
